<?php

header("Content-type:text/html;charset=utf-8");

require  'medoo.php';
$db = new medoo();

$datas = $db->select("article", array(
    "id",
    "title",
    "author",
    "time"
), array(
    "id" => 1
));


//var_dump($datas)

foreach($datas as $v)
{
	echo "编号:" . $v["id"] . "<br/>";
	echo "文章:" . $v["title"] . "<br/>";
	echo "作者:" . $v["author"] . "<br/>";
	echo "时间:" . $v["time"] ;
}


?>